data = '''cc aa 11
gg aa 22
zz bb 33
ss da 44
'''
data = data.split()
for i in range(0,10,3):
    print(data[i])